package command.source;

/**
 * @author Chen Guang
 * @date 2019/4/22 0022 上午 10:21
 */
public class Test {
    public static void main(String[] args) {
        Receiver receiver = new Receiver();
        Command command = new ConcreteConmmand(receiver);
        Invoker invoker = new Invoker();

        invoker.setCommand(command);
        invoker.executeCommand();

    }
}
